package com.sqx.modules.record.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sqx.common.utils.Result;
import com.sqx.modules.record.entity.Record;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author www.javacoder.top
 * @since 2023-01-18
 */
public interface RecordService extends IService<Record> {

    IPage<Record> getMyRecordList(Integer page, Integer limit, Record record);

    Result deleteRecord(Long userId, Long recordId, Integer type);

    void saveRecord(Long userId, String keyWord, Integer type);

    IPage<String> getHotKeyWord(Integer page, Integer limit);
}
